get terminal size python

40

python console width -

import os
rows, columns = os.popen('stty size', 'r').read().split()

Comments

Submit
0 Comments